/*
 * main.cpp
 *
 *  Created on: 22.03.2010
 *      Author: pascalmuller
 */

#include "Buffer/Buffer.h"
#include <iostream>

using namespace std;

int main()
{
        Buffer v1("test.txt");

        for(int i = 0; i < 6; i++)
        {
                std::cout << v1.getChar();
        }
        std::cout << std::endl;
        std::cout << v1.ungetChar() << std::endl;
        std::cout << v1.getChar() << std::endl;


        return 1;
}
